package cn.mesmile.forest.client;

import com.dtflys.forest.annotation.Request;
import org.springframework.stereotype.Component;

/**
 * @author zb
 * @date 2022/1/12 17:03
 * @Description
 */
@Component("myClient")
public interface MyClient {

    /**
     * 测试请求
     * @return
     */
    @Request("http://localhost:8080/api/hello")
    String helloForest();
}
